<table width="100%">
  <tbody>
    <tr>
      <td nowrap="nowrap" align="right">
       <?php JHTML::_('farm.obserDropList', 0, false); ?></td>
    </tr>
  </tbody>
</table>
<table cellspacing="1" class="adminlist">
  <thead>
    <tr>
      <th width="20"> # </th>
      <th width="20"> <input type="checkbox" onclick="checkAll(19);" value="" name="toggle"></th>
      <th nowrap="nowrap"> 观测站 </th>
      <th nowrap="nowrap"> 标高 </th>
      <th nowrap="nowrap"> 备注 </th>
      <th nowrap="nowrap"> 记录日期 </th>
      <th nowrap="nowrap"> 气温 </th>
      <th nowrap="nowrap"> 降水量 </th>
      <th nowrap="nowrap"> 日照 </th>
      <th nowrap="nowrap"> 风速风向 </th>
      <th nowrap="nowrap"> PH </th>
      <th nowrap="nowrap"> 成分分析 </th>
    </tr>
  </thead>
  <tbody>
    <?php 
		$i = -1;
		$data = empty($this->data)?array():$this->data;
		if (empty($data['ope'])) $data['ope'] = array();
		foreach($data['ope'] as $ope):?>
    <tr class="row<?php echo $i++?>">
      <td align="right"><?php echo $ope['id'];?></td>
      <td width="20"><input type="checkbox" onclick="isChecked(this.checked);" value="<?php echo $ope['id'];?>" name="cid[]" id="cb<?php echo $i?>" /></td>
      <td><?php echo $data['no'];?></td>
      <td><?php echo $data['elevation'];?></td>
      <td><?php echo $data['comment'];?></td>
      <td><?php echo $ope['datetime'];?></td>
      <td><?php echo $ope['temperature'];?></td>
      <td><?php echo $ope['precipitation'];?></td>
      <td><?php echo $ope['sunshine'];?></td>
      <td><?php echo $ope['wind'];?></td>
      <td><?php echo $ope['ph'];?></td>
      <td><?php echo $ope['element'];?></td>
    </tr>
    <?php endforeach;?>
  </tbody>
</table>
